<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Login Page</title>
<s:head />
</head>

<body>
 		<h3>Please input new user data:</h3>
		<s:form name="addForm" method="post" action="addUserForm.action">
			<s:textfield name="username" label="Username" />
			<s:password name="password" label="Password"/>
			<s:textfield name="firstName" label="First name" />
			<s:textfield name="secondName" label="Second name" />
		 	<s:textfield name="email" label="Email address" />
		 	<s:textfield name="fax" label="Fax number" />
		 	<s:textfield name="phone" label="Phone number" />
			<s:textfield name="address.city" label="City"/> <br />
			<s:textfield name="address.country" label="Country"/><br />
			<s:textfield name="address.street" label="Street" /><br />
			<s:textfield name="address.zipcode" label="zipcode" /><br />
			<s:select label="User role" headerKey="-1"
				headerValue="User roles" list="roles" name="choosenRole" />
			<s:submit type="button" name="Add" />
		</s:form>
</body>
</html>